﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Rogue
    {
        public bool subtletyCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (subtletyPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (subtletyDungeonCombat())
                    return true;
            }
            else
            {
                if (subtletyQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool subtletyHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (subtletyPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (subtletyDungeonHeal())
                    return true;
            }
            else
            {
                if (subtletyQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool subtletyBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (subtletyPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (subtletyDungeonBuff())
                    return true;
            }
            else
            {
                if (subtletyQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool subtletyPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (subtletyPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (subtletyDungeonPullSpell())
                    return true;
            }
            else
            {
                if (subtletyQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
